]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
backgroundMenu: Animate menu opening
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 11 Sep 2019 20:00:39 +0000 (22:00 +0200)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Wed, 11 Sep 2019 23:25:21 +0000 (23:25 +0000)
The animation was removed in commit 6a00a504d4fc for consistency with
other menus. However commit a9b12d5d737dc then *added* animations to
those just four minutes later.

So add back the original animations for consistency, both with menu
closing and with other menus.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1595

js/ui/backgroundMenu.js

index b19ced9e45579948e1f14bfccfd24238e053cc59..ec39d1290b606adf2becc937291b8c611703dfe2 100644 (file)
@@ -31,7 +31,7 @@ function addBackgroundMenu(actor, layoutManager) {
 
     function openMenu(x, y) {
         Main.layoutManager.setDummyCursorGeometry(x, y, 0, 0);
-        actor._backgroundMenu.open(BoxPointer.PopupAnimation.NONE);
+        actor._backgroundMenu.open(BoxPointer.PopupAnimation.FULL);
     }
 
     let clickAction = new Clutter.ClickAction();